<%--
  Created by IntelliJ IDEA.
  User: 邹敦宇
  Date: 2021/3/4
  Time: 15:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>品牌类型</title>
    <%
        String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/";
    %>
    <base href="<%=basePath%>">
    <link rel="stylesheet" href="static/layui/css/layui.css">
    <link rel="stylesheet" href="static/css/font-awesome-4.7.0/Font-Awesome-master/css/font-awesome.min.css">
    <style>
        .layui-table-cell{
            text-align:center;
            height: auto;
            line-height: 50px;
        }
    </style>
</head>
<body>
<button class="layui-btn layui-btn-lg layui-btn-normal" id="add"><span class="layui-icon layui-icon-addition"></span></button>

<table id="demo" lay-filter="test"></table>



<%--模态框--%>
<div  id="model" style="display:none;position: relative;">
        <br>
        <form class="layui-form" id="myfrom" action="">
            <input type="hidden" name="id" id="id">
            <div class="layui-form-item">
                <label class="layui-form-label">品牌名</label>
                <div class="layui-input-inline">
                    <input type="text" name="productTypeName" required id="name"  lay-verify="required" placeholder="请输入品牌名" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">简介</label>
                <div class="layui-input-inline">
                    <input type="text" name="productTypeDesc" required id="aboutUs"  lay-verify="required" placeholder="请输入商品简介" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">请选择商品图标</label>
                <div class="layui-input-inline">
                    <select name="productTypeIcon" lay-verify="required" id="type">
                        <option value="">请选择</option>
                    </select>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
                    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                </div>
            </div>
        </form>
</div>

<script src="static/js/jquery-3.5.1.min.js"></script>

<script src="static/layui/layui.js"></script>
<script src="static/js/productType.js"></script>
</body>
</html>
